/**
 * 城市表
 */

const seq = require('../seq')
const { STRING, DECIMAL, INTEGER } = require('../types')//sequelize的数据类型

const city = seq.define('city', {
    id: {
        type: INTEGER,
        primaryKey: true,
        allowNull: false,
        autoIncrement: true
    },
    area: {
        type: STRING,
        comment: '城市'
    },
    pwd: {
        type: STRING,
        comment: '城市对应的密码'
    },
})

module.exports = city

